﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhonTai.Industry.Contracts.Core.Enums;

namespace ZhonTai.Industry.Services.FormulaDetail.Dto.Output
{
    public class FormulaDetailGetOutput
    {
        /// <summary>
        /// 序号
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 工站Id
        /// </summary>
        public long StationId { get; set; }

        /// <summary>
        /// 工站代号
        /// </summary>
        public string StationCode { get; set; }

        /// <summary>
        /// 工站名称
        /// </summary>
        public string StationName { get; set; }

        /// <summary>
        /// 设备配方Id
        /// </summary>
        public long DeviceFormulaId { get; set; }

        /// <summary>
        /// 偏移量Id
        /// </summary>
        public long OffsetId { get; set; }

        /// <summary>
        /// 偏移量
        /// </summary>
        public double ByteOffset { get; set; }

        /// <summary>
        /// 偏移量类型
        /// </summary>
        public PLCDataTypeEnum PLCDataType { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? ParamKey { get; set; }

        /// <summary>
        /// 参数值
        /// </summary>
        public string? ParamValue { get; set; }

        /// <summary>
        /// 启用
        /// </summary>
        public bool Enabled { get; set; }
    }
}